package com.achievo.know.application;

import java.util.List;

import com.achievo.know.domain.Area;
import com.achievo.know.domain.News;
import com.achievo.know.pojo.SearchResult;
import com.dayatang.querychannel.support.Page;

public interface FrontApplication {
	
	List<News> findNewsByArea(List<Long> cs, Long type,int limit);

	Area getArea(Long id);

	Page<SearchResult> search(String searchText, int currentPage, int pageSize);

	List<Area> listArea();

	void saveArea(Area temp);

	Page<News> findPageNewsByArea(List<Long> cateIds, Long type, int currentPage, int pageSize);

	Page<SearchResult> findByCate(String orderType, String resType, List<Long> cateIds, int currentPage, int pageSize);


}
